package com.yaoayao.mall.cart.service;

import com.yaoayao.mall.model.cart.CartInfo;

import java.util.List;

/**
 * @author: peiyao
 * @date: 2024/4/16 3:31
 * @description:
 */
public interface CartInfoService {
    CartInfo addCart(Long skuId, Integer skuNum);

    CartInfo toCart(Long skuId);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> getCartListChecked(String userId);

    void deleteCartItem(List<String> skuIds);
}
